'Declaration
Public Overloads Shared Function GetImage( _
ByVal As Assembly, _
ByVal As String, _
ByVal As Single, _
ByVal () As Single _
) As Image
'使用法
Dim assembly As Assembly
Dim resourcePath As String
Dim requestScaleFactor As Single
Dim scaleFactors() As Single
Dim value As Image
value = DPIUtils.GetImage(assembly, resourcePath, requestScaleFactor, scaleFactors)